<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/common.css?01_38" />
		<link rel="stylesheet" type="text/css" href="../css/templet.css?01_38" />
		<link rel="stylesheet" type="text/css" href="../fonts/font-awesome.min.css?01_38" />
		<link rel="stylesheet" type="text/css" href="../mui/css/mui.css?01_38" />
		<!--公共js-->
		<script type="text/javascript" src="../common/js/jquery.js?01_38"></script>
		.
		<!--插件-->
		<script type="text/javascript" src="../common/js/vue.min.js?01_38"></script>
		<script type="text/javascript" src="../common/js/mui.min.js?01_38"></script>
		
		<script type="text/javascript" src="../common/js/common.js?01_38"></script>
		<script type="text/javascript" src="../common/js/my_common.js?01_38"></script>
		<script type="text/javascript" src="../common/js/fastclick.js?01_38"></script>
		<script type="text/javascript" src="../common/js/main.js?01_38"></script>
		<script type="text/javascript" src="../common/js/app.js?01_38"></script>
	</head>

	<body>
		<header class="bg-red9 fff f-20 pad-t-10 pad-b-10 pad-l-10 pad-r-10">
			<div class="pa back" onclick="back()">
				<a></a>
			</div>
			<div @click="test()" class="center"></div>
			<!--<div class="pa regulate">
					<a href="tableManagement.html" class="fff f-15 pad-r-10">{{b_lg[1061]}}</a>
				</div>-->
		</header>
		<script type="text/javascript">
			function fun1() {
				
				var jum_src =  getQueryString("src");
				jum_src = "http://www.baidu.com"
				var ws = null,
					embed = null;
				ws = plus.webview.currentWebview();
				setTimeout(function(){
					ws.addEventListener('show', createEmbed(), false);
				},100)
				// 创建子Webview
				function createEmbed() {
					var topoffset = '45px';
					if(plus.navigator.isImmersedStatusbar()) { // 兼容immersed状态栏模式
						topoffset = (Math.round(plus.navigator.getStatusbarHeight()) + 45) + 'px';
					}
					plus.nativeUI.showWaiting('', {
						style: 'black',
						modal: false,
						background: 'rgba(0,0,0,0)'
					});
					embed = plus.webview.create(jum_src, 'embed', {
						top: topoffset,
						bottom: '0px',
						position: 'dock',
						dock: 'bottom',
						bounce: 'vertical'
					});
					ws.append(embed);
					embed.addEventListener('loaded', function() {
						plus.nativeUI.closeWaiting();
					}, false);
					embed.addEventListener('loading', function() {
						plus.nativeUI.showWaiting('', {
							style: 'black',
							modal: false,
							background: 'rgba(0,0,0,0)'
						});
					}, false);
				}
				// 打开网址
				function openUrl() {
					var url = document.getElementById("url");
					embed.loadURL(url.value);
					url.blur();
				}
				// 页面加载后自动打开
				document.addEventListener("DOMContentLoaded", function() {
					if(embed) {
						openUrl();
					} else {
						auto = true;
					}
				}, false);
				// 页面跳转完成事件
				function onBrowserLoading() {
					document.getElementById("url").value = embed.getURL();
				}
			}
		</script>
	</body>

</html>
